<?php

/**
 * @author Anh Nguyen <duyanhnguyen@vccorp.vn>
 * @copyright 2012
 */
class Product extends MX_Controller
{

    private $_langCode;

    public function __construct()
    {
        parent::__construct();
        $this->load->library('DefaultLayout');
        $this->load->library('Minifier');
        $this->load->language('common', $this->_langCode);
        $this->_langCode = $this->mycommon->getLangCode();
    }

    public function index()
    {
        $data = array();
        $this->load->language('product/product', $this->_langCode);
        $data['common_lang'] = $this->lang->line('default_lang_common');
        $this->minifier->addCss('product/style');
        $this->defaultlayout->_loadHeader();
        $this->load->view('product/index_view', $data);
        $this->defaultlayout->_loadFooter();
    }

    
}

?>
